// Decompiled by Jad v1.5.8g. Copyright 2001 Pavel Kouznetsov.
// Jad home page: http://www.kpdus.com/jad.html
// Decompiler options: packimports(3) 

package com.nnee.p_pr.p_activity.p_view;

import android.os.Handler;
import android.os.Message;
import android.widget.ViewFlipper;
import com.nnee.p_g.cls_b;
import java.util.List;

// Referenced classes of package com.nnee.p_pr.p_activity.view:
//            AdView, m

class v extends Handler
{

    v(AdView adview)
    {
        a = adview;
        super();
    }

    public void handleMessage(Message message)
    {
        if(message.what == 1)
        {
            List list = AdView.h(a);
            if(AdView.i(a) && list != null && list.size() > 0)
            {
                AdView.a(a).showNext();
                Message message1 = obtainMessage(1);
                AdView.j(a);
                if(AdView.e(a) >= list.size())
                {
                    if(AdView.k(a) != null && AdView.k(a).size() > 0)
                    {
                        AdView.l(a);
                        if(AdView.d(a) >= AdView.k(a).size())
                            AdView.a(a, AdView.d(a) % AdView.k(a).size());
                        a.a((List)AdView.k(a).get(AdView.d(a)), 0);
                        b.b("AdViewFlipper", (new StringBuilder()).append("updateRunning:onLoad(mAdList.get(").append(AdView.d(a)).append("), 0)").toString());
                    }
                } else
                {
                    sendMessageDelayed(message1, ((m)list.get(AdView.e(a))).b);
                }
            }
        }
    }

    final AdView a;
}
